package com.sq.partner.manager.service;

import com.sq.partner.manager.mybatis.model.TransactionMonitoring;
import com.sq.partner.manager.util.Page;

public interface IGatewayClearCacheManager {

	public String clearCache(String appId,String ip) throws Exception;

	public Page<TransactionMonitoring>  cacheInfoList(String monitorServiceIndex, String serviceIp);

	public Page<TransactionMonitoring> queryAppname();

	public Page<TransactionMonitoring> getServiceIp(String appId);

	public void clearCacheInfoManager(
			int monitorServiceIndex, String serviceIp, int cacheindex)throws Exception;

	public Page<TransactionMonitoring> connStatusList(
			Integer monitorServiceIndex, String serviceIp) throws Exception;

	public void operatConn(Integer monitorServiceIndex,
			String serviceIp, Integer connindex, String connstatus) throws Exception;

	public Page<TransactionMonitoring> logManagerList(
			Integer monitorServiceIndex, String serviceIp)  throws Exception;

	public void updateLogLeven(Integer monitorServiceIndex, String serviceIp,
			String logName, String logLeven) throws Exception;

	public void resetLog(Integer monitorServiceIndex, String serviceIp) throws Exception;

	public void clearAllCache(String appId)throws Exception;

	public void clearAllCache();
	
	public void clearNlifeCacheInfoManager() throws Exception;
	
	public void clearCreditCacheInfoManager() throws Exception ;
}
